FROM golang:latest

COPY . /go

RUN go get github.com/nats-io/nats
RUN go build worker.go

EXPOSE 8181
ENTRYPOINT [ "/go/worker" ]